package sdk.pay.utils.pattern;

import android.text.TextUtils;

import java.util.regex.Pattern;

/**
 * Created by Administrator on 2017/4/27.
 */

public final class SystemPattern {
    private static final Pattern mPattern = Pattern.compile("[a-z]{3}");

    public static Pattern getPattern() {
        return mPattern;
    }

    public static boolean matcher(CharSequence input) {
        if (TextUtils.isEmpty(input)) {
            return false;
        }
        return mPattern.matcher(input).matches();
    }
}
